from selenium import webdriver
from selenium.webdriver.common.by import By
import time
# 创建浏览器驱动对象
driver = webdriver.Chrome()
# 加载web页面
driver.get("http://121.43.169.97:8848/pageA.html")

# 4.页面操作:通过CLASS属性定位页面元素

driver.find_element(by=By.CLASS_NAME,value="telA").send_keys("13588888888")
driver.find_element(by=By.CLASS_NAME,value="emailA").send_keys("12345@qq.com")
# 暂停3秒
time.sleep(3)
# 关闭驱动对象
driver.quit()